#ifndef _BSP_USART_H_
#define _BSP_USART_H_
#include "sys.h"

#define USART1_TX_SIZE  64
#define USART1_RX_SIZE  32
extern uint8_t USART1_RX_BUF[USART1_RX_SIZE];
extern uint8_t USART1_TX_BUF[USART1_TX_SIZE];

/***********extern function****************/
void bsp_InitUart(int badu);
void u1_printf(char* fmt,...);
void send_data_dma_u1(uint8_t data[100],uint8_t num);

#endif

